<!-- Begin admin/products.tpl -->
{opentable}
{titlebar colspan=4 title=$lg->products}
<tr class="sectiontableheader" align="center">
<td width="5%">{$lg->ID}</td>
<td align="left">{$lg->products}</td>
<td width="10%">Assign</td>
<td width="5%">{$lg->edit}</td>
<td width="5%">{$lg->delete}</td>
</tr>
{if is_array($products)}
{foreach from=$products item=product}
{php}$class = rowcolor();{/php}
<tr class="{php}print $class;{/php}" align="center">
<td width="5%">{$product.pid}</td>
<td align="left">{$product.product}</td>
<td width="10%"><a href="?module=admin&action=assign_products&id={$product.pid}"><img src="{$smarty.env.imgs.users}" border="0" alt="Assign" /></a></td>
<td width="5%"><a href="?module=admin&action=products&subaction=edit&id={$product.pid}"><img src="{$smarty.env.imgs.edit}" border="0" alt="Edit" /></a></td>
<td width="5%"><a href="?module=admin&action=products&subaction=delete&id={$product.pid}"><img src="{$smarty.env.imgs.delete}" border="0" alt="Delete" /></a></td>
</tr>
{/foreach}
{else}
<tr class="data"><td colspan="5">{$lg->no_data}</td></tr>
{/if}
</table>

<!-- End admin/products.tpl -->

